//
@forward "element-plus/theme-chalk/src/common/var.scss" with (
    $colors: (
        "primary": (
            "base": #314150,
        ),
    )
);
@use "element-plus/theme-chalk/src/index.scss" as *;

.moduleBox {
    position: absolute;
    left: 0.1rem;
    top: 0.1rem;
    color: #ffffff;
    font-size: 0.14rem;
    background: rgba(49, 65, 80, 0.6);
    // padding-bottom: 0.2rem;
    border-radius: 0.08rem;
    padding-bottom: 0.02rem;
    .statisticsBox {
        border-radius: 0.08rem;
        width: 3.5rem;
        padding: 0 0.2rem;
        overflow: hidden;
        .title {
            height: 0.46rem;
            line-height: 0.46rem;
            font-size: 0.14rem;
        }
        .listBoxs {
            border: 1px solid #314150;
            border-radius: 0.08rem;
            overflow: hidden;
        }
        .topmsgbox {
            line-height: 0.46rem;
            padding: 0 0.1rem;
            .staTip {
                width: 100%;
                height: 0.46rem;
                line-height: 0.46rem;
                display: flex;
                justify-content: space-between;
                align-items: center;
                div {
                    width: 50%;
                }
            }
        }
        .tablesBox {
            height: 3.69rem;
            overflow-y: scroll;
            overflow-x: hidden;
            width: calc(100% + 17px);
            margin-right: -17px;
            .tables {
                border: 0.01rem solid #314150;
                border-collapse: collapse;
                width: calc(100% + 0.02rem);
                margin-left: -0.01rem;
                margin-bottom: -0.01rem;
                td {
                    height: 0.46rem;
                    width: 20%;
                    text-align: center;
                    // border: 1px solid #314150;
                    .hollow {
                        width: 0.1rem;
                        height: 0.1rem;
                        border: 0.01rem solid #ffffff;
                        border-radius: 100%;
                    }
                    .solid {
                        background: #ffffff;
                    }
                }

                .serlectTableTr {
                    background: rgba(49, 65, 80, 0.6);
                }
            }
        }

        .tableItem {
            cursor: pointer;
            &:hover {
                background: rgba(49, 65, 80, 0.6);
            }
            td {
                font-size: 0.12rem;
            }
        }
        .btnBox {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 0.1rem;
            height: 0.46rem;
            border-top: 0.01rem solid #314150;
            margin-top: -0.01rem;
            .btn {
                width: 0.66rem;
                height: 0.26rem;
                background: #6e767d;
                border-radius: 0.04rem;
                text-align: center;
                line-height: 0.26rem;
                font-size: 0.12rem;
                cursor: pointer;
            }
            .rightBtn {
                display: flex;
                justify-content: space-between;
                align-items: center;
                .btn {
                    width: 0.56rem;
                    margin-left: 0.1rem;
                }
            }
        }
        .msgBox {
            overflow: hidden;
            border-radius: 0.08rem;
            border: 0.01rem solid #314150;
            .msgtablesBox {
                height: 4.581rem;
                overflow-y: scroll;
                overflow-x: hidden;
                width: calc(100% + 17px);
                margin-right: -17px;
                .msgtables {
                    border: 0.01rem solid #314150;
                    border-collapse: collapse;
                    width: calc(100% + 0.02rem);
                    border-top: 0.01rem solid rgba(0, 0, 0, 0);
                    // margin-top: -0.01rem;
                    margin-left: -0.01rem;
                    margin-bottom: -0.02rem;
                    td {
                        height: 0.46rem;
                        min-height: 0.46rem;
                        &:first-child {
                            width: 0.9rem;
                            text-align: center;
                        }
                        &:last-child {
                            padding-left: 0.1rem;
                        }
                    }
                    .inputNumber {
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        color: #ffffff;
                        border: 1px solid #ffffff;
                        border-radius: 0.05rem;
                        width: 2rem;
                        height: 0.32rem;
                        .unit {
                            width: 0.48rem;
                            height: 0.3rem;
                            line-height: 0.3rem;
                            text-align: center;
                            position: relative;
                            &::before {
                                content: "";
                                position: absolute;
                                width: 0.01rem;
                                height: 0.16rem;
                                background-color: #ffffff;
                                top: 50%;
                                margin-top: -0.08rem;
                                left: 0;
                            }
                        }
                    }
                }
            }
        }
        .highpressure {
            .msgtablesBox {
                height: auto;
            }
        }
    }
    .chartBox {
        padding: 0 0.2rem;
        margin-top: 0.15rem;
        height: 0;
        overflow: hidden;
        transition: all 0.2s;
        .title {
            height: 0.46rem;
            line-height: 0.46rem;
        }
        .chartBoxCont {
            border: 1px solid #314150;
            border-radius: 0.08rem;

            .time {
                display: flex;
                justify-content: space-between;
                align-items: center;
                // margin-bottom: 0.1rem;
                padding: 0.1rem;
            }
        }
    }
    .chartBoxShows {
        height: 2.54rem;
    }
}
.operationBox {
    position: fixed;
    right: 0.1rem;
    top: 0.1rem;
    color: #ffffff;
    opacity: 0.8;
    font-size: 0.14rem;
    .statisticsBox {
        width: 3.5rem;
        border-radius: 0.08rem;
        background: rgba(29, 43, 56, 0.6);
        overflow: hidden;
        padding: 0;
        .title {
            width: 100%;
            height: 0.46rem;
            line-height: 0.46rem;
            background: rgba(49, 66, 81, 0.6);
            padding: 0 0.2rem;
            font-size: 0.14rem;
        }
        .itemBox {
            height: 4.35rem;
            .iteml {
                width: 100%;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                height: 0.46rem;
                padding: 0 0.2rem;
                &:nth-child(even) {
                    background: rgba(49, 66, 81, 0.6);
                }
                .name {
                    white-space: nowrap;
                    // font-size: 0.12rem;
                }
                // .content {
                //     // font-size: 0.12rem;
                // }
            }
        }
        .btnBox {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            height: 0.46rem;
            padding: 0 0.2rem;
            border-top: 0.01rem solid #314150;
            margin-top: -0.01rem;
            .btn {
                margin-left: 0.1rem;
                width: 0.56rem;
                height: 0.26rem;
                background: #6e767d;
                border-radius: 0.04rem;
                text-align: center;
                line-height: 0.26rem;
                font-size: 0.12rem;
                cursor: pointer;
            }
        }
    }
    .handle {
        width: 3.5rem;
        border-radius: 0.08rem;
        background: #1d2b38;
        overflow: hidden;
        margin-top: 0.1rem;
        .title {
            width: 100%;
            height: 0.46rem;
            line-height: 0.46rem;
            background: #314251;
            padding: 0 0.2rem;
            font-size: 0.14rem;
        }
        .itemBox {
            .iteml {
                width: 100%;
                padding: 0 0.2rem;
                height: 0.46rem;
                display: flex;
                justify-content: flex-start;
                align-items: center;
                &:nth-child(even) {
                    background: #314251;
                }
                .name {
                    white-space: nowrap;
                    font-size: 0.14rem;
                }
                .content {
                    display: flex;
                    justify-content: flex-end;
                    align-items: center;
                    width: 50%;
                    .btn {
                        margin-left: 0.1rem;
                        width: 0.56rem;
                        height: 0.26rem;
                        background: #6e767d;
                        border-radius: 0.04rem;
                        text-align: center;
                        line-height: 0.26rem;
                        font-size: 0.12rem;
                        cursor: pointer;
                    }
                }
            }
        }
    }
}
.popupMsg {
    position: fixed;
    z-index: 999;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    display: table;
    border-radius: 0.05rem;
    color: #ffffff;
    font-size: 0;
    transition: all 0.5s;
    white-space: nowrap;
    opacity: 0;
}
.popupAnimetion {
    padding: 0.1rem 0.2rem;
    font-size: 0.16rem;
    opacity: 1;
    padding-left: 0.65rem;
}
.success::before,
.error::before,
.hint::before {
    content: "";
    position: absolute;
    width: 0.25rem;
    height: 0.25rem;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    left: 0.2rem;
    top: 50%;
    transform: translateY(-50%);
}
.success::before {
    background-image: url("@/assets/success.png");
}
.error::before {
    background-image: url("@/assets/error.png");
}
.hint::before {
    background-image: url("@/assets/hint.png");
}
.switchinggroup {
    position: fixed;
    width: 11.33rem;
    height: 2.08rem;
    background: rgba(29, 43, 56, 0.4);
    border-radius: 0.08rem;
    right: 0.1rem;
    bottom: 0.42rem;
    z-index: 999;
    padding: 0.15rem;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    .switchinggroupItem {
        width: 2rem;
        height: 1.8rem;
        background: rgba(52, 74, 94, 0.3);
        box-shadow: 0px 0px 20px 7px rgba(51, 51, 51, 0.25);
        border-radius: 0.08rem;
        padding: 0.1rem;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        // width: 100%;
        .itemList {
            width: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.14rem;
        }
    }
}
